function loadBuzzes(url, callback)
{
	return httpReq(url, function(req, success)
	{
		loadBuzzesHandler(req, success, callback);
	});
}
function loadBuzzesHandler(req, success, callback)
{
	if(success)
	{
		eval('var jsonRes = ' + req.responseText);
		
		callback(true, jsonRes.data.items, req);
	}
	else
	{
		callback(false, null, req);
	}
}
function getDate(dateString)
{
	var d = new Date(dateString);
	
	var diff = (now - d) / 1000;
	
	if(diff < 0)
		return ' now';
	else if(diff < 60)
		return Math.floor(diff) + ' seconds ago';
	else if(diff < 3600)
		return Math.floor(diff /60) + ' minutes ago';
	else if(diff < 86400)
		return Math.floor(diff / 3600) + ' hours ago';
	else
		return Math.floor(diff /86400) + ' days ago';
}
function normalizeNum(num)
{
	if(num < 10)
		return '0' + num;
	else
		return num;
}